package view.views.dialogButtonViews;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JPanel;

import model.Constants;

/**
 * @author Alexander Müller
 * 
 */
public class AddIpButtonPanel extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private final JButton add, cancel;

	public AddIpButtonPanel() {

		this.setLayout(new FlowLayout(FlowLayout.RIGHT));

		add = new JButton(Constants.ADD);
		cancel = new JButton(Constants.ABORT);

		this.add(add);
		this.add(cancel);
	}

	public JButton getAddButton() {
		return add;
	}

	public JButton getCancelButton() {
		return cancel;
	}

}
